(function () {
    'use strict';
    angular
        .module('app')
        .factory('account', Account);
    Account.$inject = ['$resource'];
    function Account($resource) {
        var service = $resource('uaa/api/account', {}, {
            'get': {
                method: 'GET', params: {}, isArray: false,
                interceptor: {
                    response: function (response) {
                        return response;
                    }
                }
            }
        });
        return service;
    }
})();
